{% extends "::admin.base.html.twig" %}
{% block stylesheets %}
	{{ parent() }}
	{% block begin_page_level_styles %}
		{% stylesheets '@InternoUserBundle/Resources/public/css/login.css' filter='yui_css' %}
        <link rel="stylesheet" href="{{ asset_url }}" />
	    {% endstylesheets %}
    {% endblock %}
{% endblock %}

{% block classinbody %} class="login" {% endblock %}

{% block body %}
	<div>
          {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
              <a href="{{ path('interno_admin_logout') }}">
                {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
              </a>
          {% endif %}
    </div>
    {{ block('fos_user_content') }}
{% endblock %}
{% block begin_page_level_js %}
	{% javascripts '@InternoUserBundle/Resources/public/js/login.js' filter='yui_css' %}
	    <script type="text/javascript" src="{{ asset_url }}"></script>
	{% endjavascripts %}
{% endblock %}
